<!DOCTYPE html>
<html>
<head>
<meta name="renderer" content="webkit">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MyApi - <?=$project_info['title']?></title>
<meta name="description" content="<?=$project_info['remark']?>" />
<css href="__PLUGIN__/bootstrap/css/bootstrap.min.css" />
<css href="__PLUGIN__/validform/Validform_v5.3.2.css" />
<css href="__PLUGIN__/mytips/static/mytips.css" />
<css href="__CSS__/layout.css" />
<block name="style"></block>
<js href="__PLUGIN__/jquery/jquery-3.4.1.min.js" />
<js href="__PLUGIN__/bootstrap/js/bootstrap.min.js" />
<js href="__PLUGIN__/validform/Validform_v5.3.2.js" />
<js href="__PLUGIN__/validform/Validform_Datatype.js" />
<js href="__PLUGIN__/mytips/static/mytips.js" />
</head>
<body>
	<nav class="navbar bg-primary">
		<div class="container" style="padding:0;">
			<?php
				if(session("member_id")){
					if(request()->action()=="index"){
						$url=url('Index/detail',['id'=>input('project_id')]);
					}else{
						$url=url('Api/index',['project_id'=>(isset($info['project_id'])?$info['project_id']:input('project_id'))]);
					}
			?>
			<div class="back_btn">
				<a href="<?=$url?>">
					<svg class="bi bi-chevron-left" width="1.8em" height="1.8em" viewBox="0 0 20 20" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
						<path fill-rule="evenodd" d="M13.354 3.646a.5.5 0 010 .708L7.707 10l5.647 5.646a.5.5 0 01-.708.708l-6-6a.5.5 0 010-.708l6-6a.5.5 0 01.708 0z" clip-rule="evenodd"></path>
					</svg>
				</a>
			</div>
			<?php
				}
			?>
			<div style="color:#fff;padding:0.9rem;flex:1;text-align:center;"><?=$project_info['title']?$project_info['title']:'系统提示'?></div>
			<?php
				if(session("member_id")){
			?>
			<div class="logout">
				<a href="<?=url('Account/logout')?>">退出登录</a>
			</div>
			<?php
				}
			?>
		</div>
	</nav>
	<section class="container">
		<block name="body"></block>
	</section>

	<js href="__JS__/common.js" />
	<block name="js"></block>
</body>
</html>